package com.geega.geetest.mapper;

import com.geega.geetest.entity.User;
import com.geega.geetest.dto.UserSaveDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserMapper {

    UserMapper INSTANCE = Mappers.getMapper(UserMapper.class);

    User toUser(UserSaveDto dto);
}
